home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
DELPHI32
/
LISTBOX
/
TFRAME
/
FLIST.PAS
next >
Wrap
Pascal/Delphi Source File
|
1996-05-11
|
825b
|
40 lines
unit qlist;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TFrameList = class(TListBox)
private
{ Private declarations }
protected
{ Protected declarations }
procedure CreateParams(var Params: TCreateParams); override;
public
{ Public declarations }
published
{ Published declarations }
property Caption;
end;
procedure Register;
implementation
procedure Register;
begin
RegisterComponents('The Toolbox', [TFrameList]);
end;
procedure TFrameList.CreateParams;
begin
inherited CreateParams(Params); { call the inherited first }
with Params do Style := Style or WS_CAPTION or WS_SIZEBOX ; { add a style flag }
with Params do ExStyle := ExStyle or WS_EX_TOOLWINDOW;
end;
end.